package com.hspedu.tankgame5;

import javax.swing.*;

/**
 * @author DL5O
 * @version 1.0
 */
public class YwlTankGame05 extends JFrame{
    MyPanel mp = null;
    public static void main(String[] args) {
        YwlTankGame05 ywlTankGame05 = new YwlTankGame05();
    }

    public YwlTankGame05() {
        mp = new MyPanel();
        this.add(mp);
        this.addKeyListener(mp);
        this.setSize(1300,950);
        this.setDefaultCloseOperation(EXIT_ON_CLOSE);
        this.setVisible(true);
    }
}


